/*
* 命名空间: Project.Model
*
* 功 能： T_ContractorMoney实体类
*
* 类 名： T_ContractorMoneyEntity
*
* Version   变更日期            负责人     变更内容
* ─────────────────────────────────────────────────
* V1.0.1    2020/02/02 14:50:40 罗维     创建
*
* Copyright (c) 2019 Lir Corporation. All rights reserved.
*/

namespace Project.Model
{
    using System;
    using Tool.Model;

    /// <summary>
    /// 
    /// </summary>
    [Serializable]
    [DBTableInfo(TableName = "T_ContractorMoney")]
    public class T_ContractorMoneyEntity
    {

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "ID",Required = true,DefaultValue = "",IsPrimarykey = false)]
        public int ID
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "ContractorID",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int? ContractorID
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "Contractor",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string Contractor
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 20,DataLength = 20,DecimalDigits = 0,ColumnName = "ProjectNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string ProjectNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 100,DecimalDigits = 0,ColumnName = "ProjectName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string ProjectName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "DepNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int? DepNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 10,DecimalDigits = 2,ColumnName = "PayMoney",Required = true,DefaultValue = "",IsPrimarykey = false)]
        public decimal PayMoney
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "ChinaMoney",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string ChinaMoney
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "MTypeID",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int? MTypeID
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 20,DataLength = 10,DecimalDigits = 0,ColumnName = "MTypeName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string MTypeName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "PayDate",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? PayDate
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "MoneyType",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string MoneyType
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "PayPerson",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string PayPerson
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "PayUserNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string PayUserNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 1,DataLength = 3,DecimalDigits = 0,ColumnName = "IsDel",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public byte? IsDel
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 500,DataLength = 500,DecimalDigits = 0,ColumnName = "Descrption",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string Descrption
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "CreateUserName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string CreateUserName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "CreateUserNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string CreateUserNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "CreateTime",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? CreateTime
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "UpdateTime",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? UpdateTime
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "UpdateUserName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string UpdateUserName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "UpdateUserNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string UpdateUserNo
        {
            get; set;
        }
    }
}
